# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=5
inherit qt4-r2 git-2

DESCRIPTION="A flexible and configurable notification daemon"
HOMEPAGE="http://code.google.com/p/qtnotifydaemon-madf/"
EGIT_REPO_URI="https://code.google.com/p/${PN}"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

RDEPEND="x11-libs/libX11
	dev-qt/qtdbus:4
	dev-qt/qtgui:4
	!x11-misc/notification-daemon
	!x11-misc/notify-osd"

S=${WORKDIR}

src_install() {
	dobin ${PN}

	insinto /usr/share/dbus-1/services
	doins org.freedesktop.Notifications.service
}
